package com.cmwa.solution.business.infodisclosure.regulatoryreport.entity;

import org.apache.commons.lang.StringUtils;
import org.apache.ibatis.type.Alias;

import com.cmwa.solution.base.entity.BaseVo;
import com.cmwa.solution.utils.cached.DictionaryCached;

@Alias("regulatoryReportVo")
public class RegulatoryReportVo extends BaseVo{
	private String reportId;//报告id
	private String prdCode;//产品编码
	private String prdSName;//产品简称
	private String reportType;//报告类型
	private String reportTypeName;//报告类型名称
	private String instId;//监管机构id
	private String instSName;//监管机构名称
	private String reportDate;//报告日期
	private String uploadDate;//上传时间
	private String reportFrequency;//报告频率
	private String reportFrequencyName;//报告频率
	private String managerId;//管理人ID
	private String status;//状态
	private String remark;//备注
	private String managerName;//项目经理名称
	private String departName;//部门名称
	private String attName;//附件名称
	private String attPath;//附件存储路径
	private String mUploadFlag;//材料是否已上传
	private String mUploadTime;//材料上传日期
	private String noFile;//报告上传数量
	private String uploadTime;//报告上传时间
	private String endTime;//报告结束时间
	@Override
	public String getStatusNm() {
		if (StringUtils.isNotEmpty(status)) {
			return DictionaryCached.getDictName("TODO_STATUS", status);
		}
		return status;
	}
	public String getReportId() {
		return reportId;
	}
	public void setReportId(String reportId) {
		this.reportId = reportId;
	}
	public String getPrdCode() {
		return prdCode;
	}
	public void setPrdCode(String prdCode) {
		this.prdCode = prdCode;
	}
	public String getPrdSName() {
		return prdSName;
	}
	public void setPrdSName(String prdSName) {
		this.prdSName = prdSName;
	}
	public String getReportType() {
		return reportType;
	}
	public void setReportType(String reportType) {
		this.reportType = reportType;
	}
	public String getReportTypeName() {
		return reportTypeName;
	}
	public void setReportTypeName(String reportTypeName) {
		this.reportTypeName = reportTypeName;
	}
	public String getInstId() {
		return instId;
	}
	public void setInstId(String instId) {
		this.instId = instId;
	}
	
	public String getInstSName() {
		return instSName;
	}
	public void setInstSName(String instSName) {
		this.instSName = instSName;
	}
	public String getReportDate() {
		return reportDate;
	}
	public void setReportDate(String reportDate) {
		this.reportDate = reportDate;
	}
	
	public String getUploadDate() {
		return uploadDate;
	}
	public void setUploadDate(String uploadDate) {
		this.uploadDate = uploadDate;
	}
	public String getReportFrequency() {
		return reportFrequency;
	}
	public void setReportFrequency(String reportFrequency) {
		this.reportFrequency = reportFrequency;
	}
	public String getReportFrequencyName() {
		if (StringUtils.isNotEmpty(reportFrequency)) {
			return DictionaryCached.getInstance().getDictionaryName(
					"REPORT_FREQUENCY",
					"REPORT_FREQUENCY",
					"REPORT_FREQUENCY", reportFrequency);
		}
		return reportFrequencyName;
	}
	public void setReportFrequencyName(String reportFrequencyName) {
		this.reportFrequencyName = reportFrequencyName;
	}
	public String getManagerId() {
		return managerId;
	}
	public void setManagerId(String managerId) {
		this.managerId = managerId;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getManagerName() {
		return managerName;
	}
	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}
	public String getDepartName() {
		return departName;
	}
	public void setDepartName(String departName) {
		this.departName = departName;
	}
	public String getAttName() {
		return attName;
	}
	public void setAttName(String attName) {
		this.attName = attName;
	}
	public String getAttPath() {
		return attPath;
	}
	public void setAttPath(String attPath) {
		this.attPath = attPath;
	}
	public String getmUploadFlag() {
		return mUploadFlag;
	}
	public void setmUploadFlag(String mUploadFlag) {
		this.mUploadFlag = mUploadFlag;
	}
	public String getmUploadTime() {
		return mUploadTime;
	}
	public void setmUploadTime(String mUploadTime) {
		this.mUploadTime = mUploadTime;
	}
	public String getNoFile() {
		return noFile;
	}
	public void setNoFile(String noFile) {
		this.noFile = noFile;
	}
	public String getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(String uploadTime) {
		this.uploadTime = uploadTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
}
